package com.sec.android.app.myfiles.module.local.category;

import android.content.Context;

import com.sec.android.app.myfiles.MyFilesTestRunner;
import com.sec.android.app.myfiles.module.abstraction.FileRecord;

import junit.framework.Assert;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.api.mockito.PowerMockito;

@RunWith(MyFilesTestRunner.class)
public class testCategoryProviderImp {
    CategoryProviderImp mImp;

    @Before
    public void setUp() throws Exception {
        Context context = PowerMockito.mock(Context.class);
        mImp = new CategoryProviderImp(context);
    }

    @After
    public void tearDown() throws Exception {
    }

    @Test
    public void testGetStorage() {
        FileRecord.StorageType type = mImp.getStorage();
        Assert.assertEquals(FileRecord.StorageType.Category, type);
    }
}
